/**
 * 
 */
package com.hson.demo.web.exception;

import com.hson.demo.base.exception.BaseException;


/**
 * @author Hungel.zou
 * @time 2016年2月24日 上午11:44:04
 */
public class DemoWebException extends BaseException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2169449627396131883L;

	public DemoWebException(String errorMsg) {
		super(errorMsg);
		this.errorMsg = errorMsg;
	}

	public DemoWebException(Integer errorCode, String errorMsg) {
		super();
		this.errorCode = errorCode;
		this.errorMsg = errorMsg;
	}

	public DemoWebException(Integer errorCode, String errorMsg, Throwable t) {
		super(t);
		this.errorCode = errorCode;
		this.errorMsg = errorMsg;
	}

	@Override
	public String toString() {
		return "IssueException [errorCode=" + errorCode + ", errorMsg="
				+ errorMsg + "]";
	}
}
